<%@ Page Language="C#" MasterPageFile="~/SiteWorx/ControlPanel.master" AutoEventWireup="true" CodeFile="UserMaintenance.aspx.cs" Inherits="SiteWorx_UserMaintenance" Title="User Maintenance"
    Theme="Admin" StylesheetTheme="Admin"%>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<asp:Content ID="cntMain" ContentPlaceHolderID="cphMain" runat="Server">
    <telerik:RadAjaxPanel runat="server" ID="rapnlUserMaintenance" HorizontalAlign="NotSet"
        LoadingPanelID="ralUserMaintenance">
        <span class="siteWorxTitle">User Maintenance</span>
        <asp:Panel runat="server" ID="pnlUserList">
            <fieldset style="width: 610px;">
                <legend>User List</legend>
                <telerik:RadGrid ID="rgvUserList" runat="server" AutoGenerateColumns="False" Width="604px"
                    Skin="Telerik" AllowPaging="True" GridLines="None" PageSize="7" 
                    ondeletecommand="rgvUserList_DeleteCommand" 
                    onitemcommand="rgvUserList_ItemCommand" 
                    onpageindexchanged="rgvUserList_PageIndexChanged">
                    <HeaderContextMenu EnableTheming="True" Skin="Telerik">
                        <CollapseAnimation Duration="200" Type="OutQuint" />
                    </HeaderContextMenu>
                    <PagerStyle Mode="Slider" />
                    <MasterTableView>
                        <RowIndicatorColumn>
                            <HeaderStyle Width="20px" />
                        </RowIndicatorColumn>
                        <ExpandCollapseColumn>
                            <HeaderStyle Width="20px" />
                        </ExpandCollapseColumn>
                        <Columns>
                            <telerik:GridTemplateColumn HeaderText="User Name" UniqueName="UserName">
                                <ItemTemplate>
                                    <asp:Label ID="lblUserName" runat="server" Text='<%# Bind("UserName") %>'></asp:Label></ItemTemplate>
                                <ItemStyle Width="120px" />
                            </telerik:GridTemplateColumn>
                            <telerik:GridTemplateColumn HeaderText="Email" UniqueName="Email">
                                <ItemTemplate>
                                    <a href='mailto:<%# Eval("Email") %>'>
                                        <%# Eval("Email") %></a>
                                </ItemTemplate>
                                <ItemStyle Width="264px" />
                            </telerik:GridTemplateColumn>
                            <telerik:GridTemplateColumn UniqueName="EditButton">
                                <ItemTemplate>
                                    <asp:Button ID="btnEdit" runat="server" CausesValidation="False" CommandArgument='<%# Bind("UserName") %>'
                                        CommandName="Select" Text="Edit" />
                                </ItemTemplate>
                                <ItemStyle Width="60px" HorizontalAlign="Right" />
                            </telerik:GridTemplateColumn>
                            <telerik:GridButtonColumn UniqueName="DeleteButton" ItemStyle-Width="60px" CommandName="Delete"
                                ConfirmDialogType="RadWindow" ConfirmText="Delete user account. Are you sure?"
                                Text="Delete" ConfirmTitle="Delete User Account" ButtonType="PushButton">
                            </telerik:GridButtonColumn>
                        </Columns>
                    </MasterTableView><FilterMenu EnableTheming="True" Skin="Telerik">
                        <CollapseAnimation Duration="200" Type="OutQuint" />
                    </FilterMenu>
                </telerik:RadGrid><br />
                <asp:Button ID="btnCreateNewUser" runat="server" Text="Create New User" 
                    onclick="btnCreateNewUser_Click" /></fieldset>
        </asp:Panel>
        <asp:Panel runat="server" ID="pnlUserDetails" Width="460">
            <fieldset style="width: 500px;">
                <legend>Update User Account</legend>
                <table border="0" width="494px" class="form">
                    <tbody>
                        <tr>
                            <td class="label">
                                User Name:
                            </td>
                            <td>
                                <asp:Label ID="lblUserName" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                *First Name:
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtFirstName"></asp:TextBox>
                                <asp:RequiredFieldValidator
                                        ID="rfvFirstName" runat="server" ControlToValidate="txtFirstName" Display="Dynamic"
                                        ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                *Last Name:
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtLastName" Width="155px"></asp:TextBox>
                                <asp:RequiredFieldValidator
                                        ID="rfvLastName" runat="server" ControlToValidate="txtLastName" Display="Dynamic"
                                        ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                         <tr>
                            <td class="label">
                                *E-mail:
                            </td>
                            <td>
                                <asp:TextBox ID="txtEmail" runat="server" Width="225px" MaxLength="256"></asp:TextBox><asp:RegularExpressionValidator
                                    ID="revEmail" runat="server" ControlToValidate="txtEmail" ErrorMessage="invalid email"
                                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic"></asp:RegularExpressionValidator><asp:RequiredFieldValidator
                                        ID="rfvEmail" runat="server" ControlToValidate="txtEmail" Display="Dynamic" ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                *Company:
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtCompany" Width="200px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rfvCompany" runat="server" 
                                    ControlToValidate="txtCompany" Display="Dynamic" ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                *Tax Id:
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtTaxId" Width="200px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rfvTaxId" runat="server" 
                                    ControlToValidate="txtTaxId" Display="Dynamic" ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                *Street Address:
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtAddress" Width="200px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rfvAddress" runat="server" 
                                    ControlToValidate="txtAddress" Display="Dynamic" ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                *City:
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtCity" Width="155px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rfvCity" runat="server" 
                                    ControlToValidate="txtCity" Display="Dynamic" ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                *State:
                            </td>
                            <td>
                                <asp:DropDownList runat="server" Width="150px" ID="lstState">
<asp:ListItem Value="AL">Alabama</asp:ListItem>
<asp:ListItem Value="AK">Alaska</asp:ListItem>
<asp:ListItem Value="AZ">Arizona</asp:ListItem>
<asp:ListItem Value="AR">Arkansas</asp:ListItem>
<asp:ListItem Value="CA">California</asp:ListItem>
<asp:ListItem Value="CO">Colorado</asp:ListItem>
<asp:ListItem Value="CT">Connecticut</asp:ListItem>
<asp:ListItem Value="DC">District of Columbia</asp:ListItem>
<asp:ListItem Value="DE">Delaware</asp:ListItem>
<asp:ListItem Value="FL">Florida</asp:ListItem>
<asp:ListItem Value="GA">Georgia</asp:ListItem>
<asp:ListItem Value="HI">Hawaii</asp:ListItem>
<asp:ListItem Value="ID">Idaho</asp:ListItem>
<asp:ListItem Value="IL">Illinois</asp:ListItem>
<asp:ListItem Value="IN">Indiana</asp:ListItem>
<asp:ListItem Value="IA">Iowa</asp:ListItem>
<asp:ListItem Value="KS">Kansas</asp:ListItem>
<asp:ListItem Value="KY">Kentucky</asp:ListItem>
<asp:ListItem Value="LA">Louisiana</asp:ListItem>
<asp:ListItem Value="ME">Maine</asp:ListItem>
<asp:ListItem Value="MD">Maryland</asp:ListItem>
<asp:ListItem Value="MA">Massachusetts</asp:ListItem>
<asp:ListItem Value="MI">Michigan</asp:ListItem>
<asp:ListItem Value="MN">Minnesota</asp:ListItem>
<asp:ListItem Value="MS">Mississippi</asp:ListItem>
<asp:ListItem Value="MO">Missouri</asp:ListItem>
<asp:ListItem Value="MT">Montana</asp:ListItem>
<asp:ListItem Value="NE">Nebraska</asp:ListItem>
<asp:ListItem Value="NV">Nevada</asp:ListItem>
<asp:ListItem Value="NH">New Hampshire</asp:ListItem>
<asp:ListItem Value="NJ">New Jersey</asp:ListItem>
<asp:ListItem Value="NM">New Mexico</asp:ListItem>
<asp:ListItem Value="NY">New York</asp:ListItem>
<asp:ListItem Value="NC">North Carolina</asp:ListItem>
<asp:ListItem Value="ND">North Dakota</asp:ListItem>
<asp:ListItem Value="OH">Ohio</asp:ListItem>
<asp:ListItem Value="OK">Oklahoma</asp:ListItem>
<asp:ListItem Value="OR">Oregon</asp:ListItem>
<asp:ListItem Value="PA">Pennsylvania</asp:ListItem>
<asp:ListItem Value="RI">Rhode Island</asp:ListItem>
<asp:ListItem Value="SC">South Carolina</asp:ListItem>
<asp:ListItem Value="SD">South Dakota</asp:ListItem>
<asp:ListItem Value="TN">Tennessee</asp:ListItem>
<asp:ListItem Value="TX">Texas</asp:ListItem>
<asp:ListItem Value="UT">Utah</asp:ListItem>
<asp:ListItem Value="VT">Vermont</asp:ListItem>
<asp:ListItem Value="VA">Virginia</asp:ListItem>
<asp:ListItem Value="WA">Washington</asp:ListItem>
<asp:ListItem Value="WV">West Virginia</asp:ListItem>
<asp:ListItem Value="WI">Wisconsin</asp:ListItem>
<asp:ListItem Value="WY">Wyoming</asp:ListItem>
</asp:DropDownList>
                                <asp:RequiredFieldValidator ID="rfvState" runat="server" 
                                    ControlToValidate="lstState" Display="Dynamic" ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                *Zip:
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtZip" Width="76px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rfvZip" runat="server" 
                                    ControlToValidate="txtZip" Display="Dynamic" ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                *Daytime phone:
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtPhone" Width="100px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rfvPhone" runat="server" ControlToValidate="txtPhone"
                                                Display="Dynamic" ErrorMessage="required"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="revPhone" runat="server" ControlToValidate="txtPhone"
                                                Display="Dynamic" ErrorMessage="invalid phone" ValidationExpression="((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}"></asp:RegularExpressionValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                Role(s):
                            </td>
                            <td>
                                <asp:CheckBox ID="chkAdministrator" runat="server" Text="Administrator" />
                                &nbsp;<asp:CheckBox ID="chkCustomer" runat="server" Text="Customer" />
                            </td>
                        </tr>
                    </tbody>
                </table>
                </fieldset>
                <br />
                <asp:Button runat="server" ID="btnSave" Text="Save" onclick="btnSave_Click" />&nbsp;<asp:Button runat="server"
                    ID="btnCancel" Text="Cancel" CausesValidation="false" 
                    onclick="btnCancel_Click" /><br />
                <asp:Label runat="server" ID="lblMessage" ForeColor="Red"></asp:Label>
        </asp:Panel>
        <asp:Panel runat="server" ID="pnlCreateUser" Width="460">
            <fieldset style="width: 500px;">
                <legend>Create User Account</legend>
                <table border="0" width="494px" class="form">
                    <tbody>
                        <tr>
                            <td class="label">
                                *First Name:
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtNewFirstName"></asp:TextBox>
                                <asp:RequiredFieldValidator
                                        ID="rfvNewFirstName" runat="server" ControlToValidate="txtNewFirstName" Display="Dynamic"
                                        ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                *Last Name:
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtNewLastName" Width="155px"></asp:TextBox>
                                <asp:RequiredFieldValidator
                                        ID="rfvNewLastName" runat="server" ControlToValidate="txtNewLastName" Display="Dynamic"
                                        ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                *E-mail/User Name:
                            </td>
                            <td>
                                <asp:TextBox ID="txtNewEmail" runat="server" Width="192px" MaxLength="256"></asp:TextBox><asp:RegularExpressionValidator
                                    ID="revNewEmail" runat="server" ControlToValidate="txtNewEmail" ErrorMessage="invalid email"
                                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic"></asp:RegularExpressionValidator><asp:RequiredFieldValidator
                                        ID="rfvNewEmail" runat="server" ControlToValidate="txtNewEmail" Display="Dynamic"
                                        ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                *Company:
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtNewCompany" Width="200px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rfvNewCompany" runat="server" 
                                    ControlToValidate="txtNewCompany" Display="Dynamic" ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                *Tax Id:
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtNewTaxId" Width="200px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rfvNewTaxId" runat="server" 
                                    ControlToValidate="txtNewTaxId" Display="Dynamic" ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                *Street Address:
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtNewAddress" Width="200px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rfvNewAddress" runat="server" 
                                    ControlToValidate="txtNewAddress" Display="Dynamic" ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                *City:
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtNewCity" Width="155px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rfvNewCity" runat="server" 
                                    ControlToValidate="txtNewCity" Display="Dynamic" ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                *State:
                            </td>
                            <td>
                                <asp:DropDownList runat="server" Width="150px" ID="lstNewState"><asp:ListItem Value="">State</asp:ListItem>
<asp:ListItem Value="AL">Alabama</asp:ListItem>
<asp:ListItem Value="AK">Alaska</asp:ListItem>
<asp:ListItem Value="AZ">Arizona</asp:ListItem>
<asp:ListItem Value="AR">Arkansas</asp:ListItem>
<asp:ListItem Value="CA">California</asp:ListItem>
<asp:ListItem Value="CO">Colorado</asp:ListItem>
<asp:ListItem Value="CT">Connecticut</asp:ListItem>
<asp:ListItem Value="DC">District of Columbia</asp:ListItem>
<asp:ListItem Value="DE">Delaware</asp:ListItem>
<asp:ListItem Value="FL">Florida</asp:ListItem>
<asp:ListItem Value="GA">Georgia</asp:ListItem>
<asp:ListItem Value="HI">Hawaii</asp:ListItem>
<asp:ListItem Value="ID">Idaho</asp:ListItem>
<asp:ListItem Value="IL">Illinois</asp:ListItem>
<asp:ListItem Value="IN">Indiana</asp:ListItem>
<asp:ListItem Value="IA">Iowa</asp:ListItem>
<asp:ListItem Value="KS">Kansas</asp:ListItem>
<asp:ListItem Value="KY">Kentucky</asp:ListItem>
<asp:ListItem Value="LA">Louisiana</asp:ListItem>
<asp:ListItem Value="ME">Maine</asp:ListItem>
<asp:ListItem Value="MD">Maryland</asp:ListItem>
<asp:ListItem Value="MA">Massachusetts</asp:ListItem>
<asp:ListItem Value="MI">Michigan</asp:ListItem>
<asp:ListItem Value="MN">Minnesota</asp:ListItem>
<asp:ListItem Value="MS">Mississippi</asp:ListItem>
<asp:ListItem Value="MO">Missouri</asp:ListItem>
<asp:ListItem Value="MT">Montana</asp:ListItem>
<asp:ListItem Value="NE">Nebraska</asp:ListItem>
<asp:ListItem Value="NV">Nevada</asp:ListItem>
<asp:ListItem Value="NH">New Hampshire</asp:ListItem>
<asp:ListItem Value="NJ">New Jersey</asp:ListItem>
<asp:ListItem Value="NM">New Mexico</asp:ListItem>
<asp:ListItem Value="NY">New York</asp:ListItem>
<asp:ListItem Value="NC">North Carolina</asp:ListItem>
<asp:ListItem Value="ND">North Dakota</asp:ListItem>
<asp:ListItem Value="OH">Ohio</asp:ListItem>
<asp:ListItem Value="OK">Oklahoma</asp:ListItem>
<asp:ListItem Value="OR">Oregon</asp:ListItem>
<asp:ListItem Value="PA">Pennsylvania</asp:ListItem>
<asp:ListItem Value="RI">Rhode Island</asp:ListItem>
<asp:ListItem Value="SC">South Carolina</asp:ListItem>
<asp:ListItem Value="SD">South Dakota</asp:ListItem>
<asp:ListItem Value="TN">Tennessee</asp:ListItem>
<asp:ListItem Value="TX">Texas</asp:ListItem>
<asp:ListItem Value="UT">Utah</asp:ListItem>
<asp:ListItem Value="VT">Vermont</asp:ListItem>
<asp:ListItem Value="VA">Virginia</asp:ListItem>
<asp:ListItem Value="WA">Washington</asp:ListItem>
<asp:ListItem Value="WV">West Virginia</asp:ListItem>
<asp:ListItem Value="WI">Wisconsin</asp:ListItem>
<asp:ListItem Value="WY">Wyoming</asp:ListItem>
</asp:DropDownList>
                                <asp:RequiredFieldValidator ID="rfvNewState" runat="server" 
                                    ControlToValidate="lstNewState" Display="Dynamic" ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                *Zip:
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtNewZip" Width="76px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rfvNewZip" runat="server" 
                                    ControlToValidate="txtNewZip" Display="Dynamic" ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                *Daytime phone:
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtNewPhoneNumber" Width="100px"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="rfvNewPhoneNumber" runat="server" ControlToValidate="txtNewPhoneNumber"
                                                Display="Dynamic" ErrorMessage="required"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="revNewPhoneNumber" runat="server" ControlToValidate="txtNewPhoneNumber"
                                                Display="Dynamic" ErrorMessage="invalid phone" ValidationExpression="((\(\d{3}\) ?)|(\d{3}-))?\d{3}-\d{4}"></asp:RegularExpressionValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 134px" class="label">
                                *Password:
                            </td>
                            <td>
                                <asp:TextBox ID="txtPassword" runat="server" TextMode="Password" MaxLength="128"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                                    ID="rfvPassword" runat="server" ControlToValidate="txtPassword" ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 134px" class="label">
                                *Confirm Password:
                            </td>
                            <td valign="top">
                                <asp:TextBox ID="txtConfirmPassword" runat="server" TextMode="Password" MaxLength="128"></asp:TextBox>&nbsp;<asp:CompareValidator
                                    ID="cvalConfirmPassword" runat="server" ControlToCompare="txtPassword" ControlToValidate="txtConfirmPassword"
                                    ErrorMessage="password doesn't match"></asp:CompareValidator>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                Security Question:
                            </td>
                            <td>
                                <telerik:RadComboBox ID="rcboQuestions" runat="server" Skin="Telerik" Width="298px">
                                    <Items>
                                        <telerik:RadComboBoxItem runat="server" Text="What is your mother's maiden name?"
                                            Value="What is your mother's maiden name?" />
                                        <telerik:RadComboBoxItem runat="server" Text="What is your favorite pet's name?"
                                            Value="What is your favorite pet's name?" />
                                        <telerik:RadComboBoxItem runat="server" Text="What city were you born in?" Value="What city were you born in?" />
                                    </Items>
                                    <CollapseAnimation Duration="200" Type="OutQuint" />
                                </telerik:RadComboBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="label">
                                *Security Answer:
                            </td>
                            <td>
                                <asp:TextBox ID="txtAnswer" runat="server" MaxLength="128" Width="128px"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                                    ID="rfvAnswer" runat="server" ControlToValidate="txtAnswer" ErrorMessage="required"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 134px" class="label">
                                Role(s):
                            </td>
                            <td>
                                <asp:CheckBox ID="chkNewAdministrator" runat="server" Text="Administrator" />
                                &nbsp;<asp:CheckBox ID="chkNewCustomer" runat="server" Text="Customer" />
                            </td>
                        </tr>
                    </tbody>
                </table>
                <div>
                    <asp:Button runat="server" ID="btnSaveNew" Text="Save" 
                        onclick="btnSaveNew_Click" />&#160;<asp:Button runat="server"
                        ID="btnCancelNew" Text="Cancel" CausesValidation="false" /></div>
                <asp:Label runat="server" ID="lblNewMessage" ForeColor="Red"></asp:Label>
                </fieldset>
        </asp:Panel>
    </telerik:RadAjaxPanel>
    <telerik:RadAjaxLoadingPanel ID="ralUserMaintenance" runat="server" Height="75px"
        Width="75px" Style="position: relative; top: -50%; left: 45%;" IsSticky="true">
        <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'
            style="border: 0px;" />
    </telerik:RadAjaxLoadingPanel>
    <telerik:RadWindowManager ID="rwmConfirm" runat="server" Skin="Telerik">
    </telerik:RadWindowManager>
</asp:Content>